package test;

public class TUnionTransInfo {
	private int useTime;
	private int responseCode;   
	private String responseRemark;
	private String log = "";
	private int isSuccess = -1;
	private Body returnBody;

	public TUnionTransInfo() {
		super();
	}
	
	public TUnionTransInfo(String appID, int useTime, int responseCode,
			String responseRemark, String log) {
		super();
		this.useTime = useTime;
		this.responseCode = responseCode;
		this.responseRemark = responseRemark;
		this.log = log;
	}
	
	public TUnionTransInfo(String appID, int useTime, int responseCode,
			String responseRemark, String log, int isSuccess) {
		super();
		this.useTime = useTime;
		this.responseCode = responseCode;
		this.responseRemark = responseRemark;
		this.log = log;
		this.isSuccess = isSuccess;
	}
	public int getUseTime() {
		return useTime;
	}
	public void setUseTime(int useTime) {
		this.useTime = useTime;
	}
	public int getResponseCode() {
		return responseCode;
	}
	public void setResponseCode(int responseCode) {
		this.responseCode = responseCode;
	}
	public String getResponseRemark() {
		return responseRemark;
	}
	public void setResponseRemark(String responseRemark) {
		this.responseRemark = responseRemark;
	}
	public String getLog() {
		return log;
	}
	public void setLog(String log) {
		this.log += log;
	}

	public int getIsSuccess() {
		return isSuccess;
	}

	public void setIsSuccess(int isSuccess) {
		this.isSuccess = isSuccess;
	}
	
	public Body getReturnBody() {
		return returnBody;
	}

	public void setReturnBody(Body returnBody) {
		this.returnBody = returnBody;
	}
}
